{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}/Users/Replication files/analysislog.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}21 Mar 2023, 14:54:47

{com}. do "/var/folders/dm/p53d181j34sg2cw8v2g875fr0000gn/T//SD50495.000000"
{txt}
{com}. 
. use "SDKM_data.dta", clear
{txt}
{com}. 
. spmatrix use Wr using "Wr_Sample1.stswm", replace
{res}{txt}
{com}. 
. 
. ///// TABLE I
> 
. 
. //Model 1 [SEM / We]
. spxtregress inci_com i.lexcluded_dum li_pop_hyd_dens li_gcp_ppp li_droughtyr_speibase i.lcivil_act_inci, fe errorlag(Wr)
{res}{txt}{col 3}(193250 observations)
{col 3}(193250 observations used)
{col 3}(data contain 7730 panels (places) )
{col 3}(weighting matrix defines 7730 places)
{res}{txt}
Performing grid search ... {txt}finished 
{txt}
Optimizing concentrated log likelihood:

Iteration 0:{space 3}log likelihood = {res: 251251.02}  
Iteration 1:{space 3}log likelihood = {res:  251327.7}  
Iteration 2:{space 3}log likelihood = {res: 251327.72}  
{txt}
Optimizing unconcentrated log likelihood:

Iteration 0:{space 3}log likelihood = {res: 251327.72}  
Iteration 1:{space 3}log likelihood = {res: 251327.72}  (backed up)
{res}
{txt}Fixed-effects spatial regression{col 49}Number of obs{col 67}={col 69}{res}   193,250
{txt}Group variable: {res}gid{col 49}{txt}Number of groups{col 67}={col 69}{res}     7,730
{txt}{col 49}Obs per group{col 67}={col 69}{res}        25

{txt}{col 49}Wald chi2({res}5{txt}){col 67}={col 70}{res}   104.20
{txt}{col 49}Prob > chi2{col 67}={col 73}{res}0.0000
{txt}Log likelihood = {res} 2.513e+05{col 49}{txt}Pseudo R2{col 67}={col 73}{res}0.0046

{txt}{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}             inci_com{col 23}{c |} Coefficient{col 35}  Std. err.{col 47}      z{col 55}   P>|z|{col 63}     [95% con{col 76}f. interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}inci_com              {txt}{c |}
{space 6}1.lexcluded_dum {c |}{col 23}{res}{space 2} .0009922{col 35}{space 2} .0007841{col 46}{space 1}    1.27{col 55}{space 3}0.206{col 63}{space 4}-.0005446{col 76}{space 3} .0025289
{txt}{space 6}li_pop_hyd_dens {c |}{col 23}{res}{space 2} .0110621{col 35}{space 2} .0013013{col 46}{space 1}    8.50{col 55}{space 3}0.000{col 63}{space 4} .0085117{col 76}{space 3} .0136126
{txt}{space 11}li_gcp_ppp {c |}{col 23}{res}{space 2}-.0021317{col 35}{space 2} .0012416{col 46}{space 1}   -1.72{col 55}{space 3}0.086{col 63}{space 4}-.0045651{col 76}{space 3} .0003017
{txt}li_droughtyr_speibase {c |}{col 23}{res}{space 2} .0022278{col 35}{space 2} .0031212{col 46}{space 1}    0.71{col 55}{space 3}0.475{col 63}{space 4}-.0038898{col 76}{space 3} .0083453
{txt}{space 4}1.lcivil_act_inci {c |}{col 23}{res}{space 2} .0073628{col 35}{space 2} .0013073{col 46}{space 1}    5.63{col 55}{space 3}0.000{col 63}{space 4} .0048006{col 76}{space 3} .0099251
{txt}{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Wr                    {txt}{c |}
{space 11}e.inci_com {c |}{col 23}{res}{space 2} .3559386{col 35}{space 2} .0035837{col 46}{space 1}   99.32{col 55}{space 3}0.000{col 63}{space 4} .3489147{col 76}{space 3} .3629626
{txt}{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
             /sigma_e {c |}{col 23}{res}{space 2} .0618577{col 35}{space 2} .0001023{col 63}{space 4} .0616575{col 76}{space 3} .0620585
{txt}{hline 22}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Wald test of spatial terms:{col 38}chi2({res}1{txt}) = {res}9864.66 {col 59}{txt}Prob > chi2 = {res}0.0000
{txt}
{com}. 
. //Model 2 [SAR / WY]
. spxtregress inci_com i.lexcluded_dum li_pop_hyd_dens li_gcp_ppp li_droughtyr_speibase i.lcivil_act_inci, fe dvarlag(Wr)
{res}{txt}{col 3}(193250 observations)
{col 3}(193250 observations used)
{col 3}(data contain 7730 panels (places) )
{col 3}(weighting matrix defines 7730 places)
{res}{txt}
Performing grid search ... {txt}finished 
{txt}
Optimizing concentrated log likelihood:

Iteration 0:{space 3}log likelihood = {res: 251257.07}  
Iteration 1:{space 3}log likelihood = {res: 251333.63}  
Iteration 2:{space 3}log likelihood = {res: 251333.65}  
{txt}
Optimizing unconcentrated log likelihood:

Iteration 0:{space 3}log likelihood = {res: 251333.65}  
Iteration 1:{space 3}log likelihood = {res: 251333.65}  (backed up)
{res}
{txt}Fixed-effects spatial regression{col 49}Number of obs{col 67}={col 69}{res}   193,250
{txt}Group variable: {res}gid{col 49}{txt}Number of groups{col 67}={col 69}{res}     7,730
{txt}{col 49}Obs per group{col 67}={col 69}{res}        25

{txt}{col 49}Wald chi2({res}6{txt}){col 67}={col 70}{res} 10124.07
{txt}{col 49}Prob > chi2{col 67}={col 73}{res}0.0000
{txt}Log likelihood = {res} 2.513e+05{col 49}{txt}Pseudo R2{col 67}={col 73}{res}0.0046

{txt}{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}             inci_com{col 23}{c |} Coefficient{col 35}  Std. err.{col 47}      z{col 55}   P>|z|{col 63}     [95% con{col 76}f. interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}inci_com              {txt}{c |}
{space 6}1.lexcluded_dum {c |}{col 23}{res}{space 2} .0007521{col 35}{space 2} .0005734{col 46}{space 1}    1.31{col 55}{space 3}0.190{col 63}{space 4}-.0003717{col 76}{space 3} .0018759
{txt}{space 6}li_pop_hyd_dens {c |}{col 23}{res}{space 2} .0080776{col 35}{space 2} .0008949{col 46}{space 1}    9.03{col 55}{space 3}0.000{col 63}{space 4} .0063236{col 76}{space 3} .0098316
{txt}{space 11}li_gcp_ppp {c |}{col 23}{res}{space 2}-.0017203{col 35}{space 2}  .000979{col 46}{space 1}   -1.76{col 55}{space 3}0.079{col 63}{space 4}-.0036391{col 76}{space 3} .0001986
{txt}li_droughtyr_speibase {c |}{col 23}{res}{space 2} .0027298{col 35}{space 2} .0023774{col 46}{space 1}    1.15{col 55}{space 3}0.251{col 63}{space 4}-.0019297{col 76}{space 3} .0073894
{txt}{space 4}1.lcivil_act_inci {c |}{col 23}{res}{space 2} .0072402{col 35}{space 2} .0012449{col 46}{space 1}    5.82{col 55}{space 3}0.000{col 63}{space 4} .0048002{col 76}{space 3} .0096802
{txt}{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Wr                    {txt}{c |}
{space 13}inci_com {c |}{col 23}{res}{space 2} .3559944{col 35}{space 2} .0035818{col 46}{space 1}   99.39{col 55}{space 3}0.000{col 63}{space 4} .3489742{col 76}{space 3} .3630147
{txt}{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
             /sigma_e {c |}{col 23}{res}{space 2} .0618555{col 35}{space 2} .0001023{col 63}{space 4} .0616553{col 76}{space 3} .0620563
{txt}{hline 22}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Wald test of spatial terms:{col 38}chi2({res}1{txt}) = {res}9878.26 {col 59}{txt}Prob > chi2 = {res}0.0000
{txt}
{com}. 
. //Model 3 [SAC / WY, We]
. spxtregress inci_com i.lexcluded_dum li_pop_hyd_dens li_gcp_ppp li_droughtyr_speibase i.lcivil_act_inci, fe dvarlag(Wr) errorlag(Wr)
{res}{txt}{col 3}(193250 observations)
{col 3}(193250 observations used)
{col 3}(data contain 7730 panels (places) )
{col 3}(weighting matrix defines 7730 places)
{res}{txt}
Performing grid search ... {txt}finished 
{txt}
Optimizing concentrated log likelihood:

Iteration 0:{space 3}log likelihood = {res:  251890.4}  
Iteration 1:{space 3}log likelihood = {res: 251955.01}  
Iteration 2:{space 3}log likelihood = {res: 251955.46}  
Iteration 3:{space 3}log likelihood = {res: 251955.46}  
{txt}
Optimizing unconcentrated log likelihood:

Iteration 0:{space 3}log likelihood = {res: 251955.46}  
Iteration 1:{space 3}log likelihood = {res: 251955.46}  (backed up)
{res}
{txt}Fixed-effects spatial regression{col 49}Number of obs{col 67}={col 69}{res}   193,250
{txt}Group variable: {res}gid{col 49}{txt}Number of groups{col 67}={col 69}{res}     7,730
{txt}{col 49}Obs per group{col 67}={col 69}{res}        25

{txt}{col 49}Wald chi2({res}6{txt}){col 67}={col 70}{res} 17730.36
{txt}{col 49}Prob > chi2{col 67}={col 73}{res}0.0000
{txt}Log likelihood = {res} 2.520e+05{col 49}{txt}Pseudo R2{col 67}={col 73}{res}0.0047

{txt}{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}             inci_com{col 23}{c |} Coefficient{col 35}  Std. err.{col 47}      z{col 55}   P>|z|{col 63}     [95% con{col 76}f. interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}inci_com              {txt}{c |}
{space 6}1.lexcluded_dum {c |}{col 23}{res}{space 2} .0004014{col 35}{space 2} .0003904{col 46}{space 1}    1.03{col 55}{space 3}0.304{col 63}{space 4}-.0003638{col 76}{space 3} .0011666
{txt}{space 6}li_pop_hyd_dens {c |}{col 23}{res}{space 2} .0044813{col 35}{space 2} .0005922{col 46}{space 1}    7.57{col 55}{space 3}0.000{col 63}{space 4} .0033205{col 76}{space 3}  .005642
{txt}{space 11}li_gcp_ppp {c |}{col 23}{res}{space 2}-.0012153{col 35}{space 2} .0007027{col 46}{space 1}   -1.73{col 55}{space 3}0.084{col 63}{space 4}-.0025926{col 76}{space 3}  .000162
{txt}li_droughtyr_speibase {c |}{col 23}{res}{space 2} .0019883{col 35}{space 2} .0016536{col 46}{space 1}    1.20{col 55}{space 3}0.229{col 63}{space 4}-.0012527{col 76}{space 3} .0052293
{txt}{space 4}1.lcivil_act_inci {c |}{col 23}{res}{space 2} .0054963{col 35}{space 2} .0010682{col 46}{space 1}    5.15{col 55}{space 3}0.000{col 63}{space 4} .0034027{col 76}{space 3} .0075899
{txt}{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Wr                    {txt}{c |}
{space 13}inci_com {c |}{col 23}{res}{space 2} .6644271{col 35}{space 2} .0050776{col 46}{space 1}  130.86{col 55}{space 3}0.000{col 63}{space 4} .6544753{col 76}{space 3}  .674379
{txt}{space 11}e.inci_com {c |}{col 23}{res}{space 2}-.4962803{col 35}{space 2} .0099386{col 46}{space 1}  -49.93{col 55}{space 3}0.000{col 63}{space 4}-.5157595{col 76}{space 3}-.4768011
{txt}{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
             /sigma_e {c |}{col 23}{res}{space 2} .0590105{col 35}{space 2}  .000122{col 63}{space 4} .0587717{col 76}{space 3} .0592502
{txt}{hline 22}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Wald test of spatial terms:{col 38}chi2({res}2{txt}) = {res}32903.63{col 59}{txt}Prob > chi2 = {res}0.0000
{txt}
{com}. eststo A4
{txt}
{com}. 
. //Model 4 [Not spatial / Dummy variable as WY]
. xtreg inci_com i.lexcluded_dum li_pop_hyd_dens li_gcp_ppp li_droughtyr_speibase i.lcivil_act_inci i.Winci_d , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   193,250
{txt}Group variable: {res}gid{txt}{col 49}Number of groups{col 67}={col 69}{res}     7,730

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.0436{col 63}{txt}min{col 67}={col 69}{res}        25
{txt}     Between = {res}0.1534{col 63}{txt}avg{col 67}={col 69}{res}      25.0
{txt}     Overall = {res}0.0566{col 63}{txt}max{col 67}={col 69}{res}        25

{txt}{col 49}F({res}6{txt},{res}185514{txt}){col 67}={col 70}{res}  1408.75
{txt}corr(u_i, Xb) = {res}-0.1597{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}             inci_com{col 23}{c |} Coefficient{col 35}  Std. err.{col 47}      t{col 55}   P>|t|{col 63}     [95% con{col 76}f. interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}1.lexcluded_dum {c |}{col 23}{res}{space 2} .0010422{col 35}{space 2} .0005801{col 46}{space 1}    1.80{col 55}{space 3}0.072{col 63}{space 4}-.0000948{col 76}{space 3} .0021791
{txt}{space 6}li_pop_hyd_dens {c |}{col 23}{res}{space 2} .0070087{col 35}{space 2} .0009063{col 46}{space 1}    7.73{col 55}{space 3}0.000{col 63}{space 4} .0052323{col 76}{space 3}  .008785
{txt}{space 11}li_gcp_ppp {c |}{col 23}{res}{space 2}-.0013472{col 35}{space 2} .0009905{col 46}{space 1}   -1.36{col 55}{space 3}0.174{col 63}{space 4}-.0032886{col 76}{space 3} .0005941
{txt}li_droughtyr_speibase {c |}{col 23}{res}{space 2} .0025984{col 35}{space 2} .0024052{col 46}{space 1}    1.08{col 55}{space 3}0.280{col 63}{space 4}-.0021157{col 76}{space 3} .0073125
{txt}{space 4}1.lcivil_act_inci {c |}{col 23}{res}{space 2} .0070149{col 35}{space 2} .0012595{col 46}{space 1}    5.57{col 55}{space 3}0.000{col 63}{space 4} .0045463{col 76}{space 3} .0094836
{txt}{space 12}1.Winci_d {c |}{col 23}{res}{space 2} .0957814{col 35}{space 2} .0010569{col 46}{space 1}   90.62{col 55}{space 3}0.000{col 63}{space 4} .0937098{col 76}{space 3} .0978529
{txt}{space 16}_cons {c |}{col 23}{res}{space 2}-.0122269{col 35}{space 2} .0018569{col 46}{space 1}   -6.58{col 55}{space 3}0.000{col 63}{space 4}-.0158664{col 76}{space 3}-.0085874
{txt}{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
              sigma_u {c |} {res} .02388138
              {txt}sigma_e {c |} {res} .06257907
                  {txt}rho {c |} {res} .12712035{txt}   (fraction of variance due to u_i)
{hline 22}{c BT}{hline 64}
F test that all u_i=0: F({res}7729{txt}, {res}185514{txt}) = {res}3.11{col 62}{txt}Prob > F = {res}0.0000
{txt}
{com}. 
. 
. 
. ///// TABLE II
> 
. 
. //Model 5 [SLX / WX]
. spxtregress inci_com i.lexcluded_dum li_pop_hyd_dens li_gcp_ppp li_droughtyr_speibase i.lcivil_act_inci, fe ivarlag(Wr: li_pop_hyd_dens li_gcp_ppp li_droughtyr_speibase i.lexcluded_dum i.lcivil_act_inci)
{res}{txt}{col 3}(193250 observations)
{col 3}(193250 observations used)
{col 3}(data contain 7730 panels (places) )
{col 3}(weighting matrix defines 7730 places)
{res}{txt}note: {bf:exog*Wr:0b.lexcluded_dum} omitted because of collinearity.
note: {bf:exog*Wr:0b.lcivil_act_inci} omitted because of collinearity.
{res}{txt}
Optimizing unconcentrated log likelihood:

Iteration 0:{space 3}log likelihood = {res:  246897.9}  
Iteration 1:{space 3}log likelihood = {res:  246897.9}  (backed up)
{res}
{txt}Fixed-effects spatial regression{col 49}Number of obs{col 67}={col 69}{res}   193,250
{txt}Group variable: {res}gid{col 49}{txt}Number of groups{col 67}={col 69}{res}     7,730
{txt}{col 49}Obs per group{col 67}={col 69}{res}        25

{txt}{col 49}Wald chi2({res}10{txt}){col 67}={col 70}{res}   266.61
{txt}{col 49}Prob > chi2{col 67}={col 73}{res}0.0000
{txt}Log likelihood = {res} 2.469e+05{col 49}{txt}Pseudo R2{col 67}={col 73}{res}0.0039

{txt}{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}             inci_com{col 23}{c |} Coefficient{col 35}  Std. err.{col 47}      z{col 55}   P>|z|{col 63}     [95% con{col 76}f. interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}inci_com              {txt}{c |}
{space 6}1.lexcluded_dum {c |}{col 23}{res}{space 2} .0010048{col 35}{space 2} .0014376{col 46}{space 1}    0.70{col 55}{space 3}0.485{col 63}{space 4}-.0018129{col 76}{space 3} .0038224
{txt}{space 6}li_pop_hyd_dens {c |}{col 23}{res}{space 2}-.0034478{col 35}{space 2} .0034214{col 46}{space 1}   -1.01{col 55}{space 3}0.314{col 63}{space 4}-.0101537{col 76}{space 3}  .003258
{txt}{space 11}li_gcp_ppp {c |}{col 23}{res}{space 2}-.0028959{col 35}{space 2} .0018698{col 46}{space 1}   -1.55{col 55}{space 3}0.121{col 63}{space 4}-.0065606{col 76}{space 3} .0007688
{txt}li_droughtyr_speibase {c |}{col 23}{res}{space 2}-.0029543{col 35}{space 2} .0047225{col 46}{space 1}   -0.63{col 55}{space 3}0.532{col 63}{space 4}-.0122102{col 76}{space 3} .0063016
{txt}{space 4}1.lcivil_act_inci {c |}{col 23}{res}{space 2} .0069552{col 35}{space 2} .0013728{col 46}{space 1}    5.07{col 55}{space 3}0.000{col 63}{space 4} .0042645{col 76}{space 3} .0096459
{txt}{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Wr                    {txt}{c |}
{space 6}li_pop_hyd_dens {c |}{col 23}{res}{space 2} .0174957{col 35}{space 2} .0035913{col 46}{space 1}    4.87{col 55}{space 3}0.000{col 63}{space 4} .0104568{col 76}{space 3} .0245346
{txt}{space 11}li_gcp_ppp {c |}{col 23}{res}{space 2} .0007582{col 35}{space 2} .0024773{col 46}{space 1}    0.31{col 55}{space 3}0.760{col 63}{space 4}-.0040972{col 76}{space 3} .0056137
{txt}li_droughtyr_speibase {c |}{col 23}{res}{space 2} .0110706{col 35}{space 2} .0056383{col 46}{space 1}    1.96{col 55}{space 3}0.050{col 63}{space 4} .0000196{col 76}{space 3} .0221215
{txt}{space 6}1.lexcluded_dum {c |}{col 23}{res}{space 2} .0002373{col 35}{space 2} .0016553{col 46}{space 1}    0.14{col 55}{space 3}0.886{col 63}{space 4} -.003007{col 76}{space 3} .0034817
{txt}{space 4}1.lcivil_act_inci {c |}{col 23}{res}{space 2} .0081044{col 35}{space 2} .0027083{col 46}{space 1}    2.99{col 55}{space 3}0.003{col 63}{space 4} .0027963{col 76}{space 3} .0134125
{txt}{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
             /sigma_e {c |}{col 23}{res}{space 2} .0639419{col 35}{space 2}  .000105{col 63}{space 4} .0637364{col 76}{space 3} .0641479
{txt}{hline 22}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Wald test of spatial terms:{col 38}chi2({res}5{txt}) = {res}36.59   {col 59}{txt}Prob > chi2 = {res}0.0000
{txt}
{com}. 
. 
. //Model 6 [SDEM / WX We]
. spxtregress inci_com i.lexcluded_dum li_pop_hyd_dens li_gcp_ppp li_droughtyr_speibase i.lcivil_act_inci, fe ivarlag(Wr: li_pop_hyd_dens li_gcp_ppp  li_droughtyr_speibase  i.lexcluded_dum i.lcivil_act_inci) errorlag(Wr)
{res}{txt}{col 3}(193250 observations)
{col 3}(193250 observations used)
{col 3}(data contain 7730 panels (places) )
{col 3}(weighting matrix defines 7730 places)
{res}{txt}note: {bf:exog*Wr:0b.lexcluded_dum} omitted because of collinearity.
note: {bf:exog*Wr:0b.lcivil_act_inci} omitted because of collinearity.
{res}{txt}
Performing grid search ... {txt}finished 
{txt}
Optimizing concentrated log likelihood:

Iteration 0:{space 3}log likelihood = {res: 251262.22}  
Iteration 1:{space 3}log likelihood = {res: 251339.47}  
Iteration 2:{space 3}log likelihood = {res: 251339.49}  
{txt}
Optimizing unconcentrated log likelihood:

Iteration 0:{space 3}log likelihood = {res: 251339.49}  
Iteration 1:{space 3}log likelihood = {res: 251339.49}  (backed up)
{res}
{txt}Fixed-effects spatial regression{col 49}Number of obs{col 67}={col 69}{res}   193,250
{txt}Group variable: {res}gid{col 49}{txt}Number of groups{col 67}={col 69}{res}     7,730
{txt}{col 49}Obs per group{col 67}={col 69}{res}        25

{txt}{col 49}Wald chi2({res}10{txt}){col 67}={col 70}{res}   127.83
{txt}{col 49}Prob > chi2{col 67}={col 73}{res}0.0000
{txt}Log likelihood = {res} 2.513e+05{col 49}{txt}Pseudo R2{col 67}={col 73}{res}0.0040

{txt}{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}             inci_com{col 23}{c |} Coefficient{col 35}  Std. err.{col 47}      z{col 55}   P>|z|{col 63}     [95% con{col 76}f. interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}inci_com              {txt}{c |}
{space 6}1.lexcluded_dum {c |}{col 23}{res}{space 2} .0016674{col 35}{space 2}  .001343{col 46}{space 1}    1.24{col 55}{space 3}0.214{col 63}{space 4}-.0009649{col 76}{space 3} .0042997
{txt}{space 6}li_pop_hyd_dens {c |}{col 23}{res}{space 2}-.0015204{col 35}{space 2}  .003161{col 46}{space 1}   -0.48{col 55}{space 3}0.631{col 63}{space 4}-.0077159{col 76}{space 3} .0046751
{txt}{space 11}li_gcp_ppp {c |}{col 23}{res}{space 2}-.0026917{col 35}{space 2} .0017394{col 46}{space 1}   -1.55{col 55}{space 3}0.122{col 63}{space 4}-.0061008{col 76}{space 3} .0007174
{txt}li_droughtyr_speibase {c |}{col 23}{res}{space 2} -.003096{col 35}{space 2} .0043638{col 46}{space 1}   -0.71{col 55}{space 3}0.478{col 63}{space 4}-.0116489{col 76}{space 3} .0054569
{txt}{space 4}1.lcivil_act_inci {c |}{col 23}{res}{space 2} .0072854{col 35}{space 2} .0013086{col 46}{space 1}    5.57{col 55}{space 3}0.000{col 63}{space 4} .0047206{col 76}{space 3} .0098503
{txt}{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Wr                    {txt}{c |}
{space 6}li_pop_hyd_dens {c |}{col 23}{res}{space 2} .0151438{col 35}{space 2} .0034605{col 46}{space 1}    4.38{col 55}{space 3}0.000{col 63}{space 4} .0083613{col 76}{space 3} .0219262
{txt}{space 11}li_gcp_ppp {c |}{col 23}{res}{space 2} .0003889{col 35}{space 2} .0025954{col 46}{space 1}    0.15{col 55}{space 3}0.881{col 63}{space 4} -.004698{col 76}{space 3} .0054757
{txt}li_droughtyr_speibase {c |}{col 23}{res}{space 2} .0113186{col 35}{space 2} .0059095{col 46}{space 1}    1.92{col 55}{space 3}0.055{col 63}{space 4}-.0002639{col 76}{space 3} .0229011
{txt}{space 6}1.lexcluded_dum {c |}{col 23}{res}{space 2}-.0006843{col 35}{space 2} .0016859{col 46}{space 1}   -0.41{col 55}{space 3}0.685{col 63}{space 4}-.0039887{col 76}{space 3}   .00262
{txt}{space 4}1.lcivil_act_inci {c |}{col 23}{res}{space 2} .0025308{col 35}{space 2} .0031984{col 46}{space 1}    0.79{col 55}{space 3}0.429{col 63}{space 4}-.0037379{col 76}{space 3} .0087994
{txt}{space 21} {c |}
{space 11}e.inci_com {c |}{col 23}{res}{space 2} .3557654{col 35}{space 2} .0035846{col 46}{space 1}   99.25{col 55}{space 3}0.000{col 63}{space 4} .3487397{col 76}{space 3}  .362791
{txt}{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
             /sigma_e {c |}{col 23}{res}{space 2} .0618543{col 35}{space 2} .0001023{col 63}{space 4} .0616542{col 76}{space 3} .0620552
{txt}{hline 22}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Wald test of spatial terms:{col 38}chi2({res}6{txt}) = {res}9887.19 {col 59}{txt}Prob > chi2 = {res}0.0000
{txt}
{com}. 
. //Model 7 [SDM / WX WY]
. spxtregress inci_com i.lexcluded_dum li_pop_hyd_dens li_gcp_ppp li_droughtyr_speibase i.lcivil_act_inci, fe dvarlag(Wr) ivarlag(Wr: li_pop_hyd_dens li_gcp_ppp  li_droughtyr_speibase  i.lexcluded_dum i.lcivil_act_inci)
{res}{txt}{col 3}(193250 observations)
{col 3}(193250 observations used)
{col 3}(data contain 7730 panels (places) )
{col 3}(weighting matrix defines 7730 places)
{res}{txt}note: {bf:exog*Wr:0b.lexcluded_dum} omitted because of collinearity.
note: {bf:exog*Wr:0b.lcivil_act_inci} omitted because of collinearity.
{res}{txt}
Performing grid search ... {txt}finished 
{txt}
Optimizing concentrated log likelihood:

Iteration 0:{space 3}log likelihood = {res: 251264.17}  
Iteration 1:{space 3}log likelihood = {res: 251341.51}  
Iteration 2:{space 3}log likelihood = {res: 251341.53}  
{txt}
Optimizing unconcentrated log likelihood:

Iteration 0:{space 3}log likelihood = {res: 251341.53}  
Iteration 1:{space 3}log likelihood = {res: 251341.53}  (backed up)
{res}
{txt}Fixed-effects spatial regression{col 49}Number of obs{col 67}={col 69}{res}   193,250
{txt}Group variable: {res}gid{col 49}{txt}Number of groups{col 67}={col 69}{res}     7,730
{txt}{col 49}Obs per group{col 67}={col 69}{res}        25

{txt}{col 49}Wald chi2({res}11{txt}){col 67}={col 70}{res} 10139.11
{txt}{col 49}Prob > chi2{col 67}={col 73}{res}0.0000
{txt}Log likelihood = {res} 2.513e+05{col 49}{txt}Pseudo R2{col 67}={col 73}{res}0.0040

{txt}{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}             inci_com{col 23}{c |} Coefficient{col 35}  Std. err.{col 47}      z{col 55}   P>|z|{col 63}     [95% con{col 76}f. interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}inci_com              {txt}{c |}
{space 6}1.lexcluded_dum {c |}{col 23}{res}{space 2} .0013829{col 35}{space 2} .0013907{col 46}{space 1}    0.99{col 55}{space 3}0.320{col 63}{space 4}-.0013427{col 76}{space 3} .0041085
{txt}{space 6}li_pop_hyd_dens {c |}{col 23}{res}{space 2}-.0030495{col 35}{space 2} .0033097{col 46}{space 1}   -0.92{col 55}{space 3}0.357{col 63}{space 4}-.0095363{col 76}{space 3} .0034374
{txt}{space 11}li_gcp_ppp {c |}{col 23}{res}{space 2}-.0027013{col 35}{space 2} .0018087{col 46}{space 1}   -1.49{col 55}{space 3}0.135{col 63}{space 4}-.0062464{col 76}{space 3} .0008437
{txt}li_droughtyr_speibase {c |}{col 23}{res}{space 2}-.0035405{col 35}{space 2} .0045683{col 46}{space 1}   -0.78{col 55}{space 3}0.438{col 63}{space 4}-.0124941{col 76}{space 3} .0054132
{txt}{space 4}1.lcivil_act_inci {c |}{col 23}{res}{space 2} .0069582{col 35}{space 2}  .001328{col 46}{space 1}    5.24{col 55}{space 3}0.000{col 63}{space 4} .0043553{col 76}{space 3}  .009561
{txt}{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Wr                    {txt}{c |}
{space 6}li_pop_hyd_dens {c |}{col 23}{res}{space 2} .0120793{col 35}{space 2} .0034745{col 46}{space 1}    3.48{col 55}{space 3}0.001{col 63}{space 4} .0052695{col 76}{space 3} .0188892
{txt}{space 11}li_gcp_ppp {c |}{col 23}{res}{space 2} .0011936{col 35}{space 2} .0023964{col 46}{space 1}    0.50{col 55}{space 3}0.618{col 63}{space 4}-.0035033{col 76}{space 3} .0058905
{txt}li_droughtyr_speibase {c |}{col 23}{res}{space 2} .0091306{col 35}{space 2} .0054542{col 46}{space 1}    1.67{col 55}{space 3}0.094{col 63}{space 4}-.0015595{col 76}{space 3} .0198208
{txt}{space 6}1.lexcluded_dum {c |}{col 23}{res}{space 2}-.0006447{col 35}{space 2} .0016013{col 46}{space 1}   -0.40{col 55}{space 3}0.687{col 63}{space 4}-.0037831{col 76}{space 3} .0024938
{txt}{space 4}1.lcivil_act_inci {c |}{col 23}{res}{space 2} .0014904{col 35}{space 2} .0026207{col 46}{space 1}    0.57{col 55}{space 3}0.570{col 63}{space 4}-.0036461{col 76}{space 3} .0066268
{txt}{space 13}inci_com {c |}{col 23}{res}{space 2} .3557515{col 35}{space 2} .0035837{col 46}{space 1}   99.27{col 55}{space 3}0.000{col 63}{space 4} .3487275{col 76}{space 3} .3627755
{txt}{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
             /sigma_e {c |}{col 23}{res}{space 2} .0618537{col 35}{space 2} .0001023{col 63}{space 4} .0616535{col 76}{space 3} .0620545
{txt}{hline 22}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Wald test of spatial terms:{col 38}chi2({res}6{txt}) = {res}9893.29 {col 59}{txt}Prob > chi2 = {res}0.0000
{txt}
{com}. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}/Users/Replication files/analysislog.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}21 Mar 2023, 15:05:34
{txt}{.-}
{smcl}
{txt}{sf}{ul off}